﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace TamTreSoSinh.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // Check authen
            if (Session["ArthenMode"] == null || Session["ArthenMode"].ToString() != "LoginSuccessfully")
            {
                Response.Redirect(@"/Admin/AdminLogin.aspx");
            }
        }
    }
}